import request from '@/common/request.js';

// 获取轮播图数据
export const queryCarouselsApi = data => {
	return request.get({
		url: '/tube/wa/queryCarousels',
		data: data
	});
}

// 获取活动类型&商品
export const queryActivitysApi = data => {
	return request.get({
		url: '/tube/wa/queryActivitys',
		data: data
	});
}

// 商品搜索
export const searchProductsApi = data => {
	return request.get({
		url: '/tube/wa/searchProducts',
		data: data
	});
}